﻿<UserControl x:Class="Microsoft.Research.ScientificWorkflow.UIDesigner.SimpleBlackboxActivityBody"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Height="Auto" Width="Auto" VerticalAlignment="Top" VerticalContentAlignment="Top" MinHeight="100">

    <Border Name="brdrBodyHolder" HorizontalAlignment="Stretch" Margin="-10,20,-10,0" MinHeight="100" VerticalAlignment="Stretch" BorderBrush="#FFC6D3D8" CornerRadius="7,7,7,7" BorderThickness="1,1,2,2">
        <Border.Background>
            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                <GradientStop Color="#FFFFFFFF" Offset="0"/>
                <GradientStop Color="#FFECF0F1" Offset="1"/>
            </LinearGradientBrush>
        </Border.Background>
        <Grid>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="0.505*"/>
                <ColumnDefinition Width="0.495*"/>
            </Grid.ColumnDefinitions>
            <Grid.RowDefinitions>
                <RowDefinition Height="*"></RowDefinition>
                <RowDefinition Height="auto"></RowDefinition>
            </Grid.RowDefinitions>
            <StackPanel VerticalAlignment="Stretch" Grid.Column="0" Grid.Row="0" Height="Auto" x:Name="inputPanel" Margin="0,15,0,5"/>
            <StackPanel Margin="0,15,0,5" Grid.Column="1" Grid.Row="0" x:Name="outputPanel" VerticalAlignment="Stretch" Height="Auto"/>
            <Border x:Name="inputParameterOutline" Grid.Row="0" HorizontalAlignment="Left" Grid.Column="0" Margin="-12,15,0,5" Width="24" CornerRadius="3,3,3,3" BorderThickness="2,2,2,2" BorderBrush="Transparent"/>
            <Border x:Name="outputParameterOutline" Grid.Row="0" HorizontalAlignment="Right" Grid.Column="1" Margin="0,15,-13,5" Width="24" CornerRadius="3,3,3,3" BorderThickness="2,2,2,2" BorderBrush="Transparent"/>
        </Grid>
    </Border>
</UserControl>

